package com.mz.ozy.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * 商品详情
 */
public class ShopSpecListBean {

    private String tradeName = "欧卓雅稻花香有机大米";
    private String goodsImg;
    private String price;
    private boolean isOperate = true;

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public boolean isOperate() {
        return isOperate;
    }

    public void setOperate(boolean operate) {
        isOperate = operate;
    }

    private List<ShopSpecBean> list = new ArrayList<>();

    public String getTradeName() {
        return tradeName;
    }

    public void setTradeName(String tradeName) {
        this.tradeName = tradeName;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public void setList(List<ShopSpecBean> list) {
        this.list = list;
    }

    public List<ShopSpecBean> getList() {
        return list;
    }

    public static class ShopSpecBean {
        //        "price": "1000.00",
//        "created": "2019-12-28 11:40:00.0",
//        "product_id": 5,
//        "name": "128G",
//        "market_price": "0.00",
//        "modified": "",
//        "id": 33,
//        "isdelete": 0,
//        "stock": 50
        private String price = "1000.00";
        private String created;
        private String name = "128G";
        private String market_price;
        private String modified;
        private int id;
        private int product_id;
        private int isdelete;
        private int stock;

        public String getPrice() {
            return price;
        }

        public String getCreated() {
            return created;
        }

        public String getName() {
            return name;
        }

        public String getMarket_price() {
            return market_price;
        }

        public String getModified() {
            return modified;
        }

        public int getId() {
            return id;
        }

        public int getProduct_id() {
            return product_id;
        }

        public int getIsdelete() {
            return isdelete;
        }

        public int getStock() {
            return stock;
        }
    }
}
